﻿<?php
require_once("../config.php");

header("Content-Type:text/html;   charset=utf-8"); 
?>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
		<script type="text/javascript" src="../static/js/jquery-1.8.3.min.js"></script>
		<script type="text/javascript" src="../static/js/jquery.validate.js"></script>
		<link type="text/css" href="../static/css/admin.css" rel="stylesheet" />
		<script>
			$(document).ready(function(){
				//$(".nav_icon").click();
			});
		</script>
	</head>
	<body>
		<div class="top">
			<div class="logo"></div>
			<div class="top_nav">
				<table>
					<tr>
						<td><img src="../static/images/n1.png" class="nav_icon"/><br></td>
						<td><img src="../static/images/n2.png" class="nav_icon"/><br></td>
						<td><A href="index.php?type=category"><img src="../static/images/n3.png" class="nav_icon"/><br>栏目配置</A></td>
						<td><A href="index.php?type=page"><img src="../static/images/n4.png" class="nav_icon"/><br>页面管理</A></td>
						<td><A href="index.php?type=template"><img src="../static/images/n4.png" class="nav_icon"/><br>模板管理</A></td>
						<!--
						<td><img src="../static/images/n5.png" class="nav_icon"/><br></td>
						<td><img src="../static/images/n6.png" class="nav_icon"/><br></td>
						-->
						<td><img src="../static/images/n7.png" class="nav_icon"/><br></td>
					</tr>
				</table>
			</div>
		</div>
		<div class="center">
			<div class="left_nav"></div>
			<div class="main_area">
			<?php
			
				$type = $_GET["type"];
				require_once(__ROOT__."\\admin\\".$type.".php");
								
			?>
			</div>
		</div>
		<div class="footer">
			
		</div>
	</body>
</html>